package com.tianwen.management.service;

import com.tianwen.management.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
* @author Administrator
* @description 针对表【user】的数据库操作Service
* @createDate 2023-05-12 15:34:17
*/
public interface UserService extends IService<User> {

    List<User> page(Integer page, Integer pageSize, String username);

    Boolean saveAndRole(User user);

    Boolean removeAndRole(Long id);

    Boolean updateAndRole(User user);

    Map login(User user);

    Boolean logout();
}
